package com.chargerlink.echarger.vo;

import java.io.Serializable;

/**
 * Created by fansxnet on 17-5-8.
 */
public class Pager implements Serializable {
    ////@SerializedName("total")
    private Integer total = null;

    //@SerializedName("offset")
    private Integer offset = 0;

    //@SerializedName("limit")
    private Integer limit = null;

    public Pager(int offset, int limit, int total) {
        this.total = total;
        this.limit = limit;
        this.total = total;
    }


    /**
     * 数据总共有多少条
     * @return total
     **/
    ////@ApiModelProperty(required = true, value = "数据总共有多少条")
    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }


    /**
     * 当前数据偏移量
     * @return offset
     **/
    ////@ApiModelProperty(required = true, value = "当前数据偏移量")
    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

     

    /**
     * 每页的记录条数
     * @return limit
     **/
    ////@ApiModelProperty(required = true, value = "每页的记录条数")
    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

}
